<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="/Class/add">
        班级:<input name="name" type="text"><br>
        班主任:<input name="teacherName" type="text">
        <input type="submit" value="添加">
    </form>
</body>
</html>